<div id="main">
<h1>Signup</h1>
<% if @account %><div id="message"><%= error_messages_for 'account' %></div><% end %>
<p>    
Already have an account?  <%= link_to 'Log in', :action => 'login' %>
</p>
<%= start_form_tag :action=> "signup" %>
  <label for="account_login">Desired login:</label><br/>
  <%= text_field "account", "login", :size => 30 %><br/><br/>
  
  <label for="account_password">Choose password:</label><br/>
  <%= password_field "account", "password", :size => 30 %><br/><br/>
  
  <label for="account_password_confirmation">Confirm password:</label><br/>
  <%= password_field "account", "password_confirmation", :size => 30 %><br/><br/>

<input type="submit" value="Signup &#187;" class="primary" />

<%= end_form_tag %>
</div>